package org.jeecg.modules.arc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 会计期间
 * @Author: jeecg-boot
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Data
@TableName("mws_t_base_period")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_base_period对象", description="会计期间")
public class BasePeriod implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**启用月份*/
	@Excel(name = "启用月份", width = 15)
    @ApiModelProperty(value = "启用月份")
    private java.lang.String beginMonth;
	/**当前月份*/
	@Excel(name = "当前月份", width = 15)
    @ApiModelProperty(value = "当前月份")
    private java.lang.String month;

    /**当前月份截止时间*/
    @Excel(name = "当前月份截止时间", width = 15)
    @ApiModelProperty(value = "当前月份截止时间")
    private java.util.Date endDate;
    /**当前月份开始时间*/
    @Excel(name = "当前月份开始时间", width = 15)
    @ApiModelProperty(value = "当前月份开始时间")
    private java.util.Date beginDate;
	/**版本*/
	@Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private java.lang.Integer version;
	/**是否当前使用状态*/
    @Excel(name = "状态", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "状态")
    private java.lang.Integer isUsed;

	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.Integer tenantId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
}
